package com.chinasoft.pan;

import com.chinasoft.teacher.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class pan implements TrueWord {
    public pan() {
        wordList.add("abcdefg  ！");
        wordList.add("准备下班  ！");
    }
    List<String> wordList = new ArrayList<String>();
    Random random = new Random();

    @Override
    public String getName() {
        return "pan ";
    }

    @Override
    public String getWords() {
        // 得到随机数
        int index = random.nextInt(wordList.size());
        return wordList.get(index);
    }
}
